package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Client;
import cn.wolfcode.crm.query.ClientQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClientService {
    int saveOrUpdate(Client record);

    Client selectByPrimaryKey(Long id);

    List<Client> selectAll();

    PageResult query(QueryObject qo);

    void delete(Long id);

    /**
     * 根据ID 改变客户是否签约的状态
     * @param id
     */
    void signing(Long id);
}
